User Tools

Site Tools


validating_xml_with_xsd_rpg

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

validating_xml_with_xsd_rpg [2019/01/07 08:18]
mihael created
validating_xml_with_xsd_rpg [2019/01/07 08:37] (current)
mihael
Line 38: Line 38:
  
  
-{{tag>​devel ibm rpg}}+===== XSD with Namespace ===== 
 + 
 +<sxh xml> 
 +<?xml version="​1.0"?>​ 
 +<​xs:​schema xmlns:​xs="​http://​www.w3.org/​2001/​XMLSchema"​ 
 + targetNamespace="​https://​rpgnextgen.com"​ xmlns="​https://​rpgnextgen.com"​ 
 + elementFormDefault="​qualified">​ 
 + 
 +    <!-- scheme description --> 
 + 
 +</​xs:​schema>​  
 +</​sxh>​ 
 + 
 +<sxh xml> 
 +<?xml version="​1.0"?>​ 
 + 
 +<daten xmlns="​https://​rpgnextgen.com"​ xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance"​ 
 + xsi:​schemaLocation="​https://​rpgnextgen.com rpgnextgen.xsd">​ 
 + 
 +</​daten>​ 
 +</​sxh>​ 
 + 
 + 
 +===== XSD without Namespace ===== 
 + 
 +<sxh xml> 
 +<?xml version="​1.0"​ encoding="​utf-8"​ ?> 
 +<​xs:​schema xmlns:​xs="​http://​www.w3.org/​2001/​XMLSchema"​ version="​0.1">​ 
 + 
 +</​xs:​schema>​ 
 +</​sxh>​ 
 + 
 + 
 +<sxh xml> 
 +<?xml version="​1.0"​ encoding="​utf-8"​ ?> 
 +<export xmlns:​xsi="​http://​www.w3.org/​2001/​XMLSchema-instance"​ xsi:​noNamespaceSchemaLocation="​rpgnextgen.xsd">​ 
 + 
 +</​export>​ 
 +</​sxh>​ 
 + 
 + 
 +{{tag>​devel ibm rpg xml}}
validating_xml_with_xsd_rpg.txt · Last modified: 2019/01/07 08:37 by mihael