Subject: RE: [xsl] parameter with elements From: "Michael Kay" <mhkay@xxxxxxxxxxxx> Date: Thu, 25 Oct 2001 16:34:35 +0100 |
> How can I pass an Element to a stylesheet: > > saxon test.xml test.xsl neu="<item>...</item>" > > but there comes in <item>....<item> > > what is the trick? You can't do this from the command line. >From the Java API, you can construct a tree (it must be a Saxon tree) and pass a Node as the value of a parameter to the setParameter() call. But parameters passed from the command line will always have data type String. Mike Kay XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] parameter with elements, bernward hanssen | Thread | [xsl] escaping from CDATA, Steve Renshaw |
[xsl] Finding the highest node valu, Antoine Quint | Date | RE: [xsl] escaping from CDATA, Michael Kay |
Month |