xsl-list
[Top] [All Lists]

Re: [xsl] Is there any xslt 2.0 processor that implements sticky d-o-e

2013-02-18 03:10:38
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(_at_)wendellpiez(_dot_)com> 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(_dot_)Honnen(_at_)gmx(_dot_)de> 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.


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--




--
Wendell Piez | http://www.wendellpiez.com
XML | XSLT | electronic publishing
Eat Your Vegetables
_____oo_________o_o___ooooo____ooooooo_^

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--