Subject: Re: [xsl] Is there any xslt 2.0 processor that implements sticky d-o-e From: bryan rasmussen <rasmussen.bryan@xxxxxxxxx> Date: Mon, 18 Feb 2013 10:10:25 +0100 |
I agree that the designers of namespaces may have thought they were addressing this requirement but it seems like many of the tools and applications that allow one to embed your own xml format in another one don't agree(or maybe are too busy to handle it), specifically in this case I have some escaped xml embedded inside of an xml response from a solr query(I need to access the escaped xml as a document node and extract such things as the title). It's looking too difficult in XSLT 2.0 I guess (unless I pay for something which this is too unimportant to do), we just want to generate a bunch of example xml documents quickly for submission to a vendor's data mining application, so I guess I'll be switching over to ruby for the task, which will then allow most of the people in the office to use the code anyway. Thanks, Bryan Rasmussen On Fri, Feb 15, 2013 at 5:23 PM, Wendell Piez <wapiez@xxxxxxxxxxxxxxx> wrote: > Hi, > > I concur with Mike: there are probably better ways. > > In particular, the designers of namespaces in XML (IIRC) supposed they > were addressing this kind of requirement. > > I know you may not find much to like about namespaces, but we are > starting from a low point when we're talking about escaped pseudo-XML. > > Cheers, Wendell > > On Fri, Feb 15, 2013 at 9:56 AM, Martin Honnen <Martin.Honnen@xxxxxx> wrote: >> bryan rasmussen wrote: >>> >>> Well parse-xml using saxon says it is a >>> Unknown system function parse-xml() >> >> >> I think you need to use a commercial Saxon version supporting XSLT/XPath 3.0 >> to use that function introduced in the XPath 3.0 draft. You might also need >> to configure Saxon to use version 3.0 instead of 2.0. >> >> Saxon also provides an extension function, but as far as I know the open >> source version of Saxon only supports that in version 9.1. >> >> I think XmlPrime also supports >> http://www.w3.org/TR/2011/WD-xpath-functions-30-20111213/#func-parse-xml but >> you need a license for that processor. >> > > > > -- > Wendell Piez | http://www.wendellpiez.com > XML | XSLT | electronic publishing > Eat Your Vegetables > _____oo_________o_o___ooooo____ooooooo_^
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Is there any xslt 2.0 pro, Wendell Piez | Thread | Re: [xsl] Is there any xslt 2.0 pro, Liam R E Quin |
Re: [xsl] Is there any xslt 2.0 pro, bryan rasmussen | Date | Re: [xsl] Is there any xslt 2.0 pro, Liam R E Quin |
Month |