[xslt] Extracting just the value of a property
- From: Dan Stromberg <dstromberglists gmail com>
- To: xslt gnome org
- Subject: [xslt] Extracting just the value of a property
- Date: Sun, 24 Feb 2008 19:39:56 +0000 (UTC)
Say you have an xml file like:
<project name="FullDist" default="full">
<property name="projectname" value="Bleeding_Edge"/>
<!-- Lots of other stuff here -->
</project>
And you want to pull out just Bleeding_Edge without a lot of xml framing.
>From a shell script, is xsltproc a good way of doing this? If so how?
Would xquery be better than XSLT?
Thanks!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]