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 TouchToneTommy 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. simonchristieis

    Use of uninitialized value in substitution (s///) error

    Thanks - it's working without error now.
  2. simonchristieis

    Use of uninitialized value in substitution (s///) error

    I'm new to Perl, just trying to create an xml file from a csv file: { my($fi) = $ARGV[0]; my($fo) = $ARGV[1]; my(@fields); my(@fieldHeaders); my($row); my($i_count)=1; my($ii_count)=0; my($string); sub trim($) { $string = shift; $string =~ s/^\s+//; $string =~ s/\s+$//; $string =~...
  3. simonchristieis

    Transform XML from command line

    Thanks tsuji - once again !!!
  4. simonchristieis

    Transform XML from command line

    The problem is that the parser is expecting the full path with forward slashes not backslashes: descriptionLocation=\\server\shareddrive\ExtraData.xml should be descriptionLocation=//server/shareddrive/ExtraData.xml Thanks for your help anyway. Regards Simon
  5. simonchristieis

    need xml help

    Try this: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <xsl:template match="/"> <html> <head> <title></title> </head> <body> Event Status is: <xsl:value-of...
  6. simonchristieis

    Transform XML from command line

    If I place the ExtraData.xml file in the root of the output xml location then the transform works correctly. I just dont understand what changes I need to make for the parser to understand that I wish to pick up the file from a different location. Any ideas ?
  7. simonchristieis

    Transform XML from command line

    My bad - just missed some information: In Transform.xsl the param is passed like this: <xsl:param name="descriptionLocation"/> <xsl:variable name="descriptionFile" select="document($descriptionLocation,/)"/>
  8. simonchristieis

    xsl works only in XMLSPY

    Try and bear in mind that different environments use differing parsers. You can change the parser used by xmlspy using tools / options / xsl and configuring from there
  9. simonchristieis

    Transform XML from command line

    Not exactly on subject but I wasn't sure where it would fit. But here goes: I am trying to tranform an xml file using xslt using the saxon parser, the saxon parser is called through a java line run through dos on windows server. The problem lies when the xslt has a document('Output.xml')...
  10. simonchristieis

    search within xml

    Use could use the contains() function within xpath to search the text
  11. simonchristieis

    Scientific Notation

    I have a value - over 1,000,000 or less than 0.000001 and I want to output it (via xslt 2.0) as it's decimal value rather than the exponential that is being displayed. Any ideas if there is a way to do this, is there a simple way to achieve this eg: <xsl:value-of...
  12. simonchristieis

    xmlreader - performance

    Thanks - I'll have a look at that over the weekend. It might be heading away from what I'm trying to do though, if simply because I'm trying to parse the xml using xslt rather than parse the xml file as a text string.. If I wanted to simply extract the data I needed it would be easier, as you...
  13. simonchristieis

    extract tag info

    Like this - the @ describes the attribute. //structureHeight/@in
  14. simonchristieis

    xmlreader - performance

    Curiousity mainly, I was wondering if I could use some kind of xml stream reader / parser / writer to parse the file partitionally (new word?) rather than load the file into memory first then parse. At the moment I can easily test the saxon and xalan parsers using java and wanted to know if the...
  15. simonchristieis

    xmlreader - performance

    We are using Informatica as the ETL tool, but mainly as a scheduler for the processing. Our technical architecture revolves around transforming xml files using xslt files and these transforms are driven from batch files. For me to introduce a new technology would be tricky, unless I could...
  16. simonchristieis

    xmlreader - performance

    Thanks for your non reply. 1. I could run some tests and see, but seeing as I offer advise on this site, feel entitled to glean some information back. 2. Interesting you dont include research and planning in your development cycle. 3. I currently use java and the xalan parser, I was wondering...
  17. simonchristieis

    xmlreader - performance

    Has any looked at the performance improvement on using .net's xmlreader to parse xml files using xslt against command line parsing. Is there any performance improvement on parsing larger zml files - 100-200 meg ? Thanks in advance. Simon
  18. simonchristieis

    Using online forms to create XML files

    You will need to use server side code to manage this, unless you use something like Ajax and a webservice - even then you will need someway to process that recieved data - either way it will depend on the server you use and what technologies you feel most comfortable with. If using a ms based...
  19. simonchristieis

    Can anyone recommend any good online xslt 2.0 tutorials

    Regards Simon

Part and Inventory Search

Back
Top