Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3442896
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T08:43:31+00:00 2026-05-18T08:43:31+00:00

I’d like to use this xml parser but there’s absolutely no information on how

  • 0

I’d like to use this xml parser but there’s absolutely no information on how to install it. It doesn’t seem available on npm, and I haven’t come across any good instructions through google.

I’m on Debian 5 Lenny, and relatively new to node.js. Someone mentioned to append the NODE_PATH environment variable, but I’m not sure how I should structure it, in terms of choosing WHERE to store my node binaries.

Can someone provide a full example demonstration of setting it up? Including git cloneing if necessary.

PS – I’d like multiple users to use these modules so I don’t just want to put this in ~ for myself.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T08:43:32+00:00Added an answer on May 18, 2026 at 8:43 am

    OK, what you need to do is the following

    1. Open /etc/bash.bashrc
    2. Add the line export NODE_PATH="/usr/local/lib/node" to the end of the file

    Note: If you edit the file with a graphical program always use gksudo instead of sudo otherwise you may end up with files that are not root’s being owned by root

    Now Node will search for modules in /usr/local/lib/node (create it if it doesn’t exist, also you need to start a new bash since bashrc is only read on start), next step is to put the stuff there.

    1. Get the repo, either by downloading it or cloning it
    2. Copy the o3-fastxml folder from node-o3-fastxml/lib into /usr/local/lib/node, so that you have a /usr/local/lib/node/o3-fastxml folder
    3. Make sure the files are owned by root but can be read by everyone else

    Last step, require the module in Node and check whether everything is working:

    require('o3-fastxml') //magic! Gnah, Node will find the folder o3-fastxml on the path and will then find the index.js inside the folder
    

    That should be all that’s needed, if I’m not mistaken 🙂

    Just leave a comment if it doesn’t work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
For some reason, after submitting a string like this Jack’s Spindle from a text
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString
I have some data like this: 1 2 3 4 5 9 2 6
I would like to count the length of a string with PHP. The string
I want to count how many characters a certain string has in PHP, but
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to understand how to use SyndicationItem to display feed which is
I've got a string that has curly quotes in it. I'd like to replace

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.