[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XSLT program that generates XSD, the XSD has a pa
At 2017-07-19 12:45 +0000, Costello, Roger L. costello@xxxxxxxxx wrote:
I am writing an XSLT program that outputs an XML Schema. Because they are for an attribute value template in an attribute specification. Note that replacing the curly braces with their character references also failed: Because XSD doesn't care what syntax is used in the stylesheet for the characters to be used in the logic. What's the right way to do this? Double them up: <xs:restriction base="xs:string"> <xs:pattern value="[a-z\{{\}}]*" /> </xs:restriction> I hope this helps. . . . . . Ken p.s. my XSLT and XSL-FO books are now available for free on my web site. -- Contact info, blog, articles, etc. http://www.CraneSoftwrights.com/s/ | Check our site for free XML, XSLT, XSL-FO and UBL developer resources | Streaming hands-on XSLT/XPath 2 training class @ US$45 (5 hours free) |
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|