Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. JontyMC

    XML Date

    With XPath 1.0 you will have to pass it in as a parameter, or use a proprietary extension. XPath 2.0 you can use the current-date() function: http://www.w3.org/TR/xpath-functions/#func-current-dateTime Jon "I don't regret this, but I both rue and lament it.
  2. JontyMC

    Problem with xsl style sheet

    The identity transform as applied to your case:<xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> <xsl:template match="abs"> <abstract><xsl:apply-templates/></abstract> </xsl:template> <xsl:template match="sct">...
  3. JontyMC

    XML as a database replacement

    Thats why I say its depends what you're doing. XML is not slow per se. A good native XML database (eXist) will have similar speed to relational database and better in cases where you are returning highly structured data. Accessing small flat XML files will also be quicker than accessing a...
  4. JontyMC

    XML as a database replacement

    Why you say XML is slow? It depends on what you are doing. There are big benefits to be had working with one data format throughout an application. With relational databases a lot of time and effort is spent mapping data to objects and then mapping those objects to something else. In terms of...
  5. JontyMC

    .xml file into access 2002

    You cannot import attribute-centric XML in Access http://support.microsoft.com/kb/q285329/ Jon "I don't regret this, but I both rue and lament it.
  6. JontyMC

    Readx,;

    Whats the code for the GridView (declarative code). You'll need to bind one of the columns to the xpath "PublisherText/@publisher_id". Jon "I don't regret this, but I both rue and lament it.
  7. JontyMC

    XSLT function and VS2005

    Why not do:<xsl:when test="@datatype > 2 and @datatype < 11"> Jon "I don't regret this, but I both rue and lament it.
  8. JontyMC

    XSLT function and VS2005

    <xsl:function> is an XSLT 2.0 element. It allows you to write custom xpath functions that are called from a special namespace. Microsoft are working on XSLT 2.0 support, but it will not ship even with .net 3.5. In the mean time, you can use saxon with .net for XSLT 2.0 support -...
  9. JontyMC

    Create Image Map with XSLT

    What is the HTML output you are getting, what do you want and what are your full XML/XSL? Jon "I don't regret this, but I both rue and lament it.
  10. JontyMC

    Help on XML and IE6

    XML does not execute anything. There must be another program involved that parses the XML and does something. Jon "I don't regret this, but I both rue and lament it.
  11. JontyMC

    Help on XML and IE6

    XML doesn't do anything, its just a data format. What are you doing and what do you expect to happen? Jon "I don't regret this, but I both rue and lament it.
  12. JontyMC

    Help on XML and IE6

    What is this? Its not html, so will not work in browsers unless its being transformed. Need more information. Jon "I don't regret this, but I both rue and lament it.
  13. JontyMC

    Xpath Help,

    Make sure you specify the namespaces in the XSL:/SOAP-ENV:Envelope/SOAP-ENV:Body/namesp1:get_genes_by_pathwayResponse/return/itemOr if you wanted you could just do //item, but that will search every node and can be slow for large documents. Jon "I don't regret this, but I both rue and lament it.
  14. JontyMC

    eXist database

    I've been using eXist for a while now and I love it. The XQuery support is excellent and it seems to be robust (I have had no problems), but I have not tried using large collections. I primary use eXist + XQuery + XSL + XForms (mozilla plugin), it takes a little while to get your head around...
  15. JontyMC

    Create Image Map with XSLT

    What's the problem? What's the desired output? To output the attribute values you need to use AVT's:<area alt="{@title}" href="{xref/@xlink:href}" shape="rect" coords="{@coords}"/> Jon "I don't regret this, but I both rue and lament it.
  16. JontyMC

    XML Hyperlink

    This is the important bit:xml.onLoad = function() { var nodes = this.firstChild.childNodes; numOfItems = nodes.length; for(var i=0;i<numOfItems;i++) { var t = home.attachMovie("item", "item"+i,i+1); t.angle = i *((Math.PI*2)/numOfItems); t.onEnterFrame =...
  17. JontyMC

    XML Hyperlink

    You'll need to find where and how in the flash the text is being displayed. It will need to be html text, something like: myTextfield.html = true; myTextfield.htmlText = theText; Jon "I don't regret this, but I both rue and lament it.
  18. JontyMC

    Is this possible? 1 XML file supplying content for html and rss feed

    Whilst you can use the xml-stylesheet declaration to perform a client-side transform, both IE7 and firefox will display RSS feeds with their custom stylesheets. You can this off in IE, but by default it is on - so server-side is the only real choice. Create a new text file called...
  19. JontyMC

    RSS Feeds from Multiple Servers/Sites

    You'll need to do some server-side coding to achieve this (you could do it with javascript but its harder/nastier). What do you know/run on your servers? If you know how to do an XSL transform on the server you could do something like: XML:<rss_feeds> <projects> <project>...
  20. JontyMC

    XML Hyperlink

    How are you displaying the text in flash? Try using ".nodeValue" for the appropriate XML node. Jon "I don't regret this, but I both rue and lament it.

Part and Inventory Search

Back
Top